package com.easygem.business.service;

import com.easygem.business.mapper.BgClientMapper;
import com.easygem.business.service.base.IBaseService;
import com.easygem.common.model.business.BgClient;
import com.easygem.common.vo.business.BgClientVO;
import com.easygem.common.vo.system.PageVO;

import java.util.Map;

/**
 * @author 肖智
 * @version 1.0
 * @Description TODO
 * @date 2024/12/30
 */

public interface BgClientService extends IBaseService<BgClientMapper, BgClient, Integer> {
    /**
     * 查询客户
     * @param bgClientVO
     * @return
     */
    PageVO<BgClient> selectBgClientList(Integer pageNum, Integer pageSize, BgClientVO bgClientVO);
    /**
     * 删除客户
     * @param clientId
     * @return
     */
    Integer deleteBgClientByClientId(Long clientId);
    /**
     * 添加客户
     * @param map
     * @return
     */
    Integer addBgClient(Map<String,Object> map);
    /**
     * 修改客户
     * @param map
     * @return
     */
    Integer editBgClient(Map<String,Object> map);
    /**
     * 加关注
     * @param clientId
     * @return
     */
    Integer addAttention(Long clientId);
    /**
     * 取关
     * @param clientId
     * @return
     */
    Integer cancelAttention(Long clientId);
}
